package com.cskaoyan.bean;


import lombok.Data;

import java.util.List;

@Data
public class WxBaseData<T> {
    List<T> data;
    long count;

    public static <T> WxBaseData<T> ok(List<T> data, long count) {
        WxBaseData<T> tBaseData = new WxBaseData<>();
        tBaseData.setData(data);
        tBaseData.setCount(count);
        return tBaseData;
    }
}
